package com.example.Service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.Service.IntervieweeService;
import com.example.dao.IntervieweeMapper;
import com.example.pojo.Interviewee;
import com.example.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IntervieweeServiceImpl extends ServiceImpl<IntervieweeMapper, Interviewee> implements IntervieweeService {

    @Autowired
    private IntervieweeMapper intervieweeMapper;

    public Result addInterviewee(Interviewee interviewee) {
        intervieweeMapper.addInterviewee(interviewee);
        return new Result("200","添加成功");
    }
}
